package com.wj.dao;

import com.github.pagehelper.Page;
import com.wj.pojo.CheckGroup;

import java.util.List;
import java.util.Map;

/**
 * @author: WangJin
 * @description
 * @date: 2021/10/16 18:26
 */
public interface CheckGroupDao {
    public void add(CheckGroup checkGroup);

    public void setCheckGroupAndCheckItem(Map map); //设置关联关系

    public Page<CheckGroup> findByCondition(String queryString);

    public CheckGroup findById(Integer id);

    public List<Integer> findCheckItemIdsByCheckGroupId(Integer id);

    public void edit(CheckGroup checkGroup);

    public void deleteAssociation(Integer id);

    public List<CheckGroup> findAll();
}
